a=[1,2,3,4]
a.append(5)
print(a)
a.extend([5,6,7])
print(a)
a.insert(0,0)
print(a)
a[0:2]=[7,8]
print(a)